Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: unique index on username for users collection #418

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

dwinston
Copy link
Collaborator

closes #325

note: I just built an index on each of dev and prod, so deploying this involves no risk of failure to startup due to failure of index creation.

@dwinston dwinston requested a review from eecavanna December 13, 2023 21:53
Copy link
Collaborator

@eecavanna eecavanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for fixing this.

@eecavanna eecavanna added bug Something isn't working X SMALL Less than 1 day labels Dec 13, 2023
@eecavanna eecavanna merged commit 5708461 into main Dec 13, 2023
@eecavanna eecavanna deleted the 325-unique-index-users-username branch December 13, 2023 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working X SMALL Less than 1 day
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Database allows multiple users documents to have the same username value
2 participants